<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>

<script language="JavaScript" src="js/jquery.min.js"></script>
<script language="JavaScript" src="js/webuploader.nolog.js"></script>
<script language="JavaScript" src="js/upload.js"></script>
<link href="css/webuploader.css" rel="stylesheet" />
<style type="text/css">
     body{
          padding:0px;
          margin: 0px;

     }
    .head {
        height: 80px;
        width:100%;
        line-height: 80px;
        text-align: center;
        font-size: 28px;
        background-color: rgba(224, 224, 224, 0.72);
    }

    .content{

        margin: 20px;

    }
    .content ul {
        list-style: none;

    }
    .content ul li{
        list-style: none;
        width:50%;
        float:left;

    }

</style>


<body>

<div id="uploader" style="margin-left:10px"></div>
<script>

    $(function(){
        //渲染容器
        $("#uploader").powerWebUpload({ auto: false,fileNumLimit:5 });
    })
    function getFiles1() {
        //获取上传的文件地址
        var data = $("#uploader").getFilesAddress();
        alert(data[0]);
    }


</script>
</body>
</html>